package zjitc.interfa2.wuliu;

/**
 * @author:胡新雨
 * @date：2019/3/26 9:51
 */
public abstract class Car {
    String number;
    String type;
    String driver;

    Car(){

    }
    Car(String number,String type,String driver){
        this.number=number;
        this.type=type;
        this.driver=driver;
    }
  public abstract void  transport();
    public void setNumber(String number) {
        this.number = number;
    }

    public String getNumber() {
        return number;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getType() {
        return type;
    }

    public void setDriver(String driver) {
        this.driver = driver;
    }

    public String getDriver() {
        return driver;
    }
}
